
import 'package:wechat_manager/utils/storage_util.dart';

class PreferencesUtil {
  static const String KEY_ACCESS_TOKEN = "key_access_token";


  static setAccessToken(String token) {
    StorageUtil.set(KEY_ACCESS_TOKEN, token);
  }

  static Future<String> getAccessToken() async {
   String token = await StorageUtil.get(KEY_ACCESS_TOKEN) ?? "";
   return token;
  }
}